const express = require('express');
const router = express.Router();
const userMessageController = require('../controllers/userMessageController');

router.get('/', userMessageController.getUserMessages);
router.post('/read', userMessageController.markMessageRead);
router.post('/read-all', userMessageController.markAllMessagesRead); // Your spec had this

module.exports = router;
